---
title: ODBCConnection.ServerCredentialsMethod Property (Excel)
keywords: vbaxl10.chm796090
f1_keywords:
- vbaxl10.chm796090
ms.prod: excel
api_name:
- Excel.ODBCConnection.ServerCredentialsMethod
ms.assetid: 66ad13e8-fba6-d60e-ab62-0c24e868b0d2
ms.date: 06/08/2017
---


# ODBCConnection.ServerCredentialsMethod Property (Excel)

Returns or sets the type of credentials that should be used for server authentication. Read/write  **[XlCredentialsMethod](xlcredentialsmethod-enumeration-excel.md)** .


## Syntax

 _expression_ . **ServerCredentialsMethod**

 _expression_ A variable that represents an **ODBCConnection** object.


## See also


#### Concepts


[ODBCConnection Object](odbcconnection-object-excel.md)

